package com.geper.pattern.decorator;

import java.util.List;

/**
 * @author: lsy
 * @date: 2020-03-06 15:06
 * @description: LoginDecorator 登录
 */
public class LoginDecorator extends NavigationDecorator {

    public LoginDecorator (Navigation navigation){
        super(navigation);
    }

    @Override
    protected List<String> menus() {
        List<String> menus = super.menus();
        menus.add("作业");
        menus.add("题库");
        menus.add("成长");
        return menus;
    }
}
